﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Map.aspx.cs" Inherits="Map" meta:resourcekey="PageResource1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="~/GoogleMapForASPNet.ascx" TagName="GoogleMapForASPNet" TagPrefix="uc1" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <link href="jqModal.css" rel="stylesheet" type="text/css" />

    <script src="jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="jqModal.js" type="text/javascript"></script>
    <title></title>
    <script type="text/javascript">
        function there() {

            $("#dialog").jqm({ modal: true }).jqmShow();


        }
        function switchs() {

            var y = document.getElementById('div1');

            y.style.display = "block";
        }
           </script>
           
           <style type="text/css">
       
       .req
       {
           color:Red;
       } 
      .bok
      {
	 background:White url(icons/bgg.gif) repeat  right top;
	
         }
     .jqmWindow {
    display: none;
    
    position: fixed;
    top: 17%;
    left: 50%;
    
    margin-left: -300px;
    width: 400px;
    
    background-color: #EEE;
    color: #333;
    border: 1px solid black;
    padding: 12px;
}

.jqmOverlay { background-color: #000; }

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow 
{
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}
    </style>
</head>

<body>
    <form id="form1" runat="server">
    <div class="jqmWindow" id="dialog" dir="rtl">

<a href="#" class="jqmClose" style="background-image:url('images/close.png');
	 width:39px;
	 height:40px;
	  background-repeat:no-repeat;
	  display:block;
	  float:left;	"></a>
<h3 class="req">حدد الموقع على الخريطة بالنقر مرتين</h3>
<hr>
     <uc1:GoogleMapForASPNet ID="GoogleMapForASPNet1" runat="server" Longs="46.70391082763672" Lats ="24.637031353509534"  Zoom="15" Width="500px" Height="500px" />

    </div>
    <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">switchs</asp:LinkButton>
   <%-- <a href="#" onclick="switchs();" >switchs</a>--%>
    </form>
</body>
</html>
